﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class UIManager {

    public enum UI_OPEN_TYPE
    {
        ROOT,
        NORMAL,
    }

    public IUIFrame frame = null;
    public GameManager gameManager = null;
    public const string UI_PREFAB = "/prefab/ui/";
    public UIManager(GameManager gameManager, IUIFrame frame)
    {
        this.gameManager = gameManager;
        this.frame = frame;
    }

    private GameObject canvas;
    public void InitEnviroment()
    {
        canvas = this.frame.InitEnviroment(gameManager.worldCamera);
    }






}
